/**
 * Created by damir.ismailov on 15/12/2014.
 */
package simple.model {
	import com.samoiloff.framework.model.AbstractModel;

	import flash.events.Event;

	public class SimpleModel extends AbstractModel{

		public static const DISPLACEMENT_CHANGED:String = 'displacement_changed';

		private var _displacement : Boolean;

		public function SimpleModel() {

		}

		public function get displacement() : Boolean {
			return _displacement;
		}

		public function set displacement(value : Boolean) : void {
			_displacement = value;
			dispatchEvent(new Event(DISPLACEMENT_CHANGED));
		}
	}
}
